package com.njtech.pet.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lxj
 * Date:2020-03-09 14:17
 * Description:权限类
 */
public class Power implements Serializable {
    public Integer id;
    public User user;
    public String power;
    public String state;
    public Date updateDate;

    public Power() {
    }

    public Power(Integer id, User user, String power, String state, Date updateDate) {
        this.id = id;
        this.user = user;
        this.power = power;
        this.state = state;
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return "Power{" +
                "id=" + id +
                ", user=" + user +
                ", power='" + power + '\'' +
                ", state='" + state + '\'' +
                ", updateDate=" + updateDate +
                '}';
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }
}
